Warning: mkdir(): No space left on device in /var/www/tg-me/post.php on line 37

Warning: file_put_contents(aCache/aDaily/post/rust_daily_news/--): Failed to open stream: No such file or directory in /var/www/tg-me/post.php on line 50
Rust 视界 | Telegram Webview: rust_daily_news/5874 -
Telegram Group & Telegram Channel
crates.io 上的 API token scope现在处于公开 Beta 测试期!

https://crates.io/settings/tokens/new

该功能允许用户选择 token 可以调用哪些 endpoints 以及可以影响哪些crates。此功能用于改善 CI 场景(例如在推送 git 标签后自动发布 crates)。

RFC 中定义的 endpoint scope:

- publish-new: 允许发布新的 crate , 对应 endpoint: PUT /crates/new (new crates) PUT /crates/new
- publish-update: 允许用户更新现有 crate , 对应 endpoint: PUT /crates/new (existing crates) PUT /crates/new
- yank: 允许撤销和取消撤销用户创建的现有版本, 对应 endpoint: DELETE or PUT /crates/:crate_id/:version/unyank
- change-owners: 允许邀请新的所有者或删除现有的所有者, 对应 endpoint: DELETE or PUT /crates/:crate_id/owners
- legacy: 允许访问 crates.io 上的所有endpoint,除了创建新token,例如在实施此 RFC 之前创建的token。 , 对应 endpoint: 除了 PUT /me/tokens 之外的一切


https://blog.rust-lang.org/inside-rust/2023/05/09/api-token-scopes.html



tg-me.com/rust_daily_news/5874
Create:
Last Update:

crates.io 上的 API token scope现在处于公开 Beta 测试期!

https://crates.io/settings/tokens/new

该功能允许用户选择 token 可以调用哪些 endpoints 以及可以影响哪些crates。此功能用于改善 CI 场景(例如在推送 git 标签后自动发布 crates)。

RFC 中定义的 endpoint scope:

- publish-new: 允许发布新的 crate , 对应 endpoint: PUT /crates/new (new crates) PUT /crates/new
- publish-update: 允许用户更新现有 crate , 对应 endpoint: PUT /crates/new (existing crates) PUT /crates/new
- yank: 允许撤销和取消撤销用户创建的现有版本, 对应 endpoint: DELETE or PUT /crates/:crate_id/:version/unyank
- change-owners: 允许邀请新的所有者或删除现有的所有者, 对应 endpoint: DELETE or PUT /crates/:crate_id/owners
- legacy: 允许访问 crates.io 上的所有endpoint,除了创建新token,例如在实施此 RFC 之前创建的token。 , 对应 endpoint: 除了 PUT /me/tokens 之外的一切


https://blog.rust-lang.org/inside-rust/2023/05/09/api-token-scopes.html

BY Rust 视界




Share with your friend now:
tg-me.com/rust_daily_news/5874

View MORE
Open in Telegram


Rust 视界 Telegram | DID YOU KNOW?

Date: |

How to Buy Bitcoin?

Most people buy Bitcoin via exchanges, such as Coinbase. Exchanges allow you to buy, sell and hold cryptocurrency, and setting up an account is similar to opening a brokerage account—you’ll need to verify your identity and provide some kind of funding source, such as a bank account or debit card. Major exchanges include Coinbase, Kraken, and Gemini. You can also buy Bitcoin at a broker like Robinhood. Regardless of where you buy your Bitcoin, you’ll need a digital wallet in which to store it. This might be what’s called a hot wallet or a cold wallet. A hot wallet (also called an online wallet) is stored by an exchange or a provider in the cloud. Providers of online wallets include Exodus, Electrum and Mycelium. A cold wallet (or mobile wallet) is an offline device used to store Bitcoin and is not connected to the Internet. Some mobile wallet options include Trezor and Ledger.

Should You Buy Bitcoin?

In general, many financial experts support their clients’ desire to buy cryptocurrency, but they don’t recommend it unless clients express interest. “The biggest concern for us is if someone wants to invest in crypto and the investment they choose doesn’t do well, and then all of a sudden they can’t send their kids to college,” says Ian Harvey, a certified financial planner (CFP) in New York City. “Then it wasn’t worth the risk.” The speculative nature of cryptocurrency leads some planners to recommend it for clients’ “side” investments. “Some call it a Vegas account,” says Scott Hammel, a CFP in Dallas. “Let’s keep this away from our real long-term perspective, make sure it doesn’t become too large a portion of your portfolio.” In a very real sense, Bitcoin is like a single stock, and advisors wouldn’t recommend putting a sizable part of your portfolio into any one company. At most, planners suggest putting no more than 1% to 10% into Bitcoin if you’re passionate about it. “If it was one stock, you would never allocate any significant portion of your portfolio to it,” Hammel says.

Rust 视界 from ye


Telegram Rust 视界
FROM USA